<?php $this->pageTitle=Yii::app()->name; ?>

<h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>

<div id="videoDiv"></div>


<div id="videoInfo">
	<p>Player state: <span id="playerState">2</span></p>
	<p>Current Time: <span id="videoCurrentTime">23.9</span> | Duration: <span id="videoDuration">243.577</span></p>
	<p>Bytes Total: <span id="bytesTotal">15219747</span> | Start Bytes: <span id="startBytes">0</span> | Bytes Loaded: <span id="bytesLoaded">15219747</span></p>
	<p>Controls: <a href="javascript:void(0);" onclick="playVideo();">Play</a> | <a href="javascript:void(0);" onclick="pauseVideo();">Pause</a> | <a href="javascript:void(0);" onclick="muteVideo();">Mute</a> | <a href="javascript:void(0);" onclick="unMuteVideo();">Unmute</a></p>
	<p><input id="volumeSetting" type="text" size="3">&nbsp;<a href="javascript:void(0)" onclick="setVideoVolume();">&lt;- Set Volume</a> | Volume: <span id="volume">100</span></p>
</div>

<div class="srt" style="background: #ccc;"
     data-video="videoInfo"
     data-srt="/srt/Avril_Lavigne_-_Smile_eng.srt"></div>

<div class="srt"
     data-video="videoInfo"
     data-srt="/srt/Avril_Lavigne_-_Smile_rus.srt"></div>

















<p>Congratulations! You have successfully created your Yii application.</p>

<p>You may change the content of this page by modifying the following two files:</p>
<ul>
	<li>View file: <tt><?php echo __FILE__; ?></tt></li>
	<li>Layout file: <tt><?php echo $this->getLayoutFile('main'); ?></tt></li>
</ul>

<p>For more details on how to further develop this application, please read
the <a href="http://www.yiiframework.com/doc/">documentation</a>.
Feel free to ask in the <a href="http://www.yiiframework.com/forum/">forum</a>,
should you have any questions.</p>